<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人资料 - 天衍智能TianYanAI</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 20px;
        }
        
        .profile-container {
            max-width: 800px;
            margin: 0 auto;
            background-color: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        h1 {
            color: #333;
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .profile-info {
            margin-bottom: 2rem;
        }
        
        .info-group {
            margin-bottom: 1rem;
        }
        
        label {
            display: block;
            color: #666;
            margin-bottom: 0.5rem;
        }
        
        .info-value {
            color: #333;
            font-size: 1.1rem;
        }
        
        .back-button {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin-top: 1rem;
        }
        
        .back-button:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
    <div class="profile-container">
        <h1>个人资料</h1>
        <div class="profile-info">
            <div class="info-group">
                <label>用户名</label>
                <div class="info-value">{{ session.username }}</div>
            </div>
            <div class="info-group">
                <label>注册时间</label>
                <div class="info-value">2024-03-25</div>
            </div>
            <div class="info-group">
                <label>最后登录时间</label>
                <div class="info-value">2024-03-25</div>
            </div>
        </div>
        <a href="{{ url_for('index') }}" class="back-button">返回主页</a>
    </div>
</body>
</html> 